of

public static WheelEvent.DeltaMode of(int mode)

Returns the DeltaMode instance for the given value.

Throws

when there is no delta mode associated with the given value